
            <div id="add_search_area" style="padding:5px 5px; border-bottom: dashed #d2d2d2 1px;margin-bottom: 5px;">
                班级名称: <input class="easyui-textbox" style="width:110px" id="search_class_name">
                <a href="javascript://" class="easyui-linkbutton" iconCls="icon-search" onclick="search_area_but()">搜索</a>
            </div>
            <table id="add_class_area" class="easyui-datagrid" style="width:100%;height:100%"
                   sortName="id"
                   sortOrder="asc"
                   rownumbers="true"
                   pagination="true"
                   pagesize="50"
                   data-options="url:'admin/class/load_add_project_class_json?project_id=${project_id!}&dep_id=${dep_id!}',toolbar:'#add_search_area'">
                <thead>
                <tr>
                    <th data-options="field:'ck',checkbox:true"></th>
                    <th width="140" field="dep_name" align="center"  sortable="true">单位名称</th>
                    <th width="140" field="class_name"  align="center" sortable="true">班级名称</th>
                    <th width="100" field="teacher_name"  align="center" sortable="true">班主任</th>
                    <th width="140" field="teacher_phone"  align="center" sortable="true">班主任联系方式</th>
                    <th width="100" field="class_cadre_1"  align="center" sortable="true">班干部1</th>
                    <th width="120" field="cadre_tel_phone_1" align="center" sortable="true">班干部联系电话1</th>
                    <th width="100" field="class_cadre_2"  align="center" sortable="true">班干部2</th>
                    <th width="120" field="cadre_tel_phone_2"  align="center" sortable="true">班干部联系电话2</th>
                    <th width="100" field="class_cadre_3"  align="center" sortable="true">班干部3</th>
                    <th width="120" field="cadre_tel_phone_3"  align="center" sortable="true">班干部联系电话3</th>
                    <th width="140" field="create_time" align="center" sortable="true" data-options="formatter:function(value,row,index){
                         return formatDate(value);
                         } ">创建时间</th>
                </tr>
                </thead>
            </table>


    <script type="text/javascript">

        function search_area_but(){
           $("#add_class_area").datagrid("reload",{class_name:$("#search_class_name").val()});
        }

    </script>
